package com.vis.wz.demo.pdf.util;

public class SystemKit {
    public static final String osName = System.getProperty("os.name").toLowerCase();

    public static boolean isWin() {
        return osName.contains("win");
    }

    public static boolean isLinux() {
        return osName.contains("nix") || osName.contains("nux") || osName.contains("aix");
    }

    public static boolean isMac() {
        return osName.contains("mac");
    }
}
